package com.neuedu.his.controller;

import com.alibaba.fastjson.JSON;

import com.neuedu.his.common.Page;
import com.neuedu.his.common.Ret;
import com.neuedu.his.common.core.BaseController;
import com.neuedu.his.entity.UmsUser;
import com.neuedu.his.common.core.BaseService;
import com.neuedu.his.service.UmsUserService;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;


@WebServlet("/umsUser/*")
public class UmsUserController extends BaseController<UmsUser> {

    UmsUserService umsUserService = new UmsUserService();


    @Override
    public BaseService getService() {
        return  umsUserService ;
    }


    public Map initEdit(HttpServletRequest request, HttpServletResponse response){
        Map res = umsUserService.initEdit(request);
        return res;
    }


}